﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NoteList.Models
{
    [Serializable]
    public class ZNote
    {
        private string _title = "";

        public string Title
        {
            get { return _title; }
            set { _title = value; }
        }
        private string _content = "";

        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }

        private DateTime _AlarmTime = DateTime.MinValue;

        public DateTime AlarmTime
        {
            get { return _AlarmTime; }
            set { _AlarmTime = value; }
        }
        private bool _enableAlarm = false;

        public bool EnableAlarm
        {
            get { return _enableAlarm; }
            set { _enableAlarm = value; }
        }

        private bool _expired = false;

        public bool Expired
        {
            get { return _expired; }
            set { _expired = value; }
        }
        private DateTime _lastEditTime = DateTime.MinValue;

        public DateTime LastEditTime
        {
            get { return _lastEditTime; }
            set { _lastEditTime = value; }
        }
    }
}
